package com.lc.demo.service.impl;

import com.lc.demo.mapper.RollMapper;
import com.lc.demo.service.RollService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class RollServiceImpl  implements RollService {


   /* @Autowired
    RollMapper rollMapper;

    @Override
    public List<Roll> getAllRoll() {
        return rollMapper.selectAllRoll();
    }

    @Override
    public List<Roll> findByStunumber(String stunumber) {
      return rollMapper.findByStunumber(stunumber);
    }

    @Override
    public int addRoll(Roll roll) {
        return rollMapper.addRoll(roll);
    }

    @Override
    public void deleteRolltById(Integer id) {
         rollMapper.deleteRollById(id);
    }

    @Override
    public Roll selectById(int id) {
        return rollMapper.selectById(id);
    }*/
}
